import { Base } from '../../../utils/base.js';
class Index extends Base {
  constructor() {
    super();
  }

  jian(data, callback) {
    var param = {
      url: 'user/red',
      type: "post",
      data: data,
      loading: 'hide',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }


  getrcoe(data, callback) {  //个人资料
    var param = {
      url: 'user/archives',
      type: "post",
      data: data,
      loading: 'hide',
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }

  getrcoeB(data, callback) {  //个人资料
    var param = {
      url: 'user/get_archives',
      type: "post",
      data: data,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
};
export { Index };